#######################################################################
# MENUS AND MENUBAR
#######################################################################

###########
# Menus
###########

style "menu"
{
	bg[NORMAL]							= "#FFFFFF"
	fg[PRELIGHT]							= "#FFFFFF"

	xthickness							= 1

	engine "experience" 
	{

###Menu shadows

		group "menu_shadow" = "shadow_in_normal"
		{
			function 						= BOX
			shadow						= OUT
			detail						= "menu"
		}
		
		group "menu_gap"
		{
			function						= BOX_GAP
			gap_side						= TOP
			gap_size						= 1			
			padding						= { 1, 1, 0, 0 }		
			
			
			fill 0 {		color			= bg[NORMAL] }
			
		}
		
		
		group "menu_hline"
		{	function						= LINE
			orientation					= HORIZONTAL
		
			image 1 {		file				= "images/pixel.png"
						recolor "#ff0000"	= base[selected]
						opacity			= 0.5
						padding			= { 0, 0, 0, 1 } }
		}


### Menuitem

		group "menuitem_selected" = "listitem_focus"
		{
			state						= PRELIGHT, NORMAL, ACTIVE
			has_focus					= TRUE, FALSE
			function						= BOX
			detail						= "menuitem"
		}
		
	}
}


###########
# Menubar
###########

style "menubar" = "default"
{

	engine "experience" 
	{
 
		group "shadow_menubar" = "shadow_out_horizontal"
		
		group "menubar_item" = "shadow_in_normal"
		{
			function						= BOX
			state						= PRELIGHT, ACTIVE
			detail						= "menuitem"
			shadow						= NONE
			dont_clip						= TRUE
			
			fill 0 {		dont_inherit		= TRUE
						color			= base[normal] }
			
			image 1 {		padding				= {0,0,0,-1} }
		}
		
	}	
}
